import { Controller, Get } from '@nestjs/common';
import { RoleService } from '../../services/role/role.service';

@Controller('role')
export class RoleController {
    constructor(private readonly rolesService: RoleService) {}
    @Get()
    async accountList(): Promise<any> {
      return await this.rolesService.roleList();
    }

}
